package com.resource.project.mapper;

import com.resource.project.entity.system.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author resource
 * @since 2020-03-14
 */
public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> getAllMenu();

    List<Menu> getMenusByHrId(Long hrId);

    List<Menu> menuTree();

    List<Menu> getAllMenuWithRole();
}
